<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Include/esb/nrf_esb.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>



<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF Enhanced Shockburst
   &#160;<span id="projectnumber">version 0.4.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('nrf__esb_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Include/esb/nrf_esb.h</div>  </div>
</div>
<div class="contents">
<a href="nrf__esb_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (c) 2011 Nordic Semiconductor. All Rights Reserved.</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> * The information contained herein is property of Nordic Semiconductor ASA.</span>
<a name="l00004"></a>00004 <span class="comment"> * Terms and conditions of usage are described in detail in NORDIC</span>
<a name="l00005"></a>00005 <span class="comment"> * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * Licensees are granted free, non-transferable use of the information. NO</span>
<a name="l00008"></a>00008 <span class="comment"> * WARRANTY of ANY KIND is provided. This heading must NOT be removed from</span>
<a name="l00009"></a>00009 <span class="comment"> * the file.</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * $LastChangedRevision: 15173 $</span>
<a name="l00012"></a>00012 <span class="comment"> */</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef NRF_ESB_H__</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define NRF_ESB_H__</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="nrf__esb__constants_8h.html" title="Enhanced ShockBurst constants and default values.">nrf_esb_constants.h</a>&quot;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 
<a name="l00041"></a><a class="code" href="group__esb__02__api.html#ga86fb552224a080814a7e3ac856b57be3">00041</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00042"></a>00042 {
<a name="l00043"></a><a class="code" href="group__esb__02__api.html#gga86fb552224a080814a7e3ac856b57be3a0fc486926b06e9107d3f7459532f7713">00043</a>   <a class="code" href="group__esb__02__api.html#gga86fb552224a080814a7e3ac856b57be3a0fc486926b06e9107d3f7459532f7713" title="Primary Transmitter mode.">NRF_ESB_MODE_PTX</a>,         
<a name="l00044"></a><a class="code" href="group__esb__02__api.html#gga86fb552224a080814a7e3ac856b57be3acea8d8b1efbb200a93e5438a8a21bd39">00044</a>   <a class="code" href="group__esb__02__api.html#gga86fb552224a080814a7e3ac856b57be3acea8d8b1efbb200a93e5438a8a21bd39" title="Primary Receiver mode.">NRF_ESB_MODE_PRX</a>,         
<a name="l00045"></a>00045 } <a class="code" href="group__esb__02__api.html#ga86fb552224a080814a7e3ac856b57be3" title="Enumerator used for selecting the ESB mode.">nrf_esb_mode_t</a>;
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 
<a name="l00053"></a><a class="code" href="group__esb__02__api.html#ga22b4239274a204804ec90a75464af66c">00053</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00054"></a>00054 {
<a name="l00055"></a><a class="code" href="group__esb__02__api.html#gga22b4239274a204804ec90a75464af66ca5e01e008cf46eeb426a18660bff8523c">00055</a>   <a class="code" href="group__esb__02__api.html#gga22b4239274a204804ec90a75464af66ca5e01e008cf46eeb426a18660bff8523c" title="PTX packet requires ACK.">NRF_ESB_PACKET_USE_ACK</a>,         
<a name="l00056"></a><a class="code" href="group__esb__02__api.html#gga22b4239274a204804ec90a75464af66caaaff00d187cdd6c74a727dda75e9659b">00056</a>   <a class="code" href="group__esb__02__api.html#gga22b4239274a204804ec90a75464af66caaaff00d187cdd6c74a727dda75e9659b" title="PTX packet does not require ACK.">NRF_ESB_PACKET_NO_ACK</a>,          
<a name="l00057"></a>00057 } <a class="code" href="group__esb__02__api.html#ga22b4239274a204804ec90a75464af66c" title="Enumerator used for selecting TX packet type used in PTX mode.">nrf_esb_packet_t</a> ;
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 
<a name="l00064"></a><a class="code" href="group__esb__02__api.html#gad2f71a66caf0510ecfe2f5efd604eafb">00064</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> 
<a name="l00065"></a>00065 {
<a name="l00066"></a><a class="code" href="group__esb__02__api.html#ggad2f71a66caf0510ecfe2f5efd604eafba3eb543d84d839038b94ca1383e845d5e">00066</a>     <a class="code" href="group__esb__02__api.html#ggad2f71a66caf0510ecfe2f5efd604eafba3eb543d84d839038b94ca1383e845d5e" title="2 byte address length">NRF_ESB_BASE_ADDRESS_LENGTH_2B</a>,   
<a name="l00067"></a><a class="code" href="group__esb__02__api.html#ggad2f71a66caf0510ecfe2f5efd604eafbaade7c7db59c4d838798e37d9a8a4201b">00067</a>     <a class="code" href="group__esb__02__api.html#ggad2f71a66caf0510ecfe2f5efd604eafbaade7c7db59c4d838798e37d9a8a4201b" title="3 byte address length">NRF_ESB_BASE_ADDRESS_LENGTH_3B</a>,   
<a name="l00068"></a><a class="code" href="group__esb__02__api.html#ggad2f71a66caf0510ecfe2f5efd604eafbabb9b2ba7abf7943c93ac48740022558d">00068</a>     <a class="code" href="group__esb__02__api.html#ggad2f71a66caf0510ecfe2f5efd604eafbabb9b2ba7abf7943c93ac48740022558d" title="4 byte address length">NRF_ESB_BASE_ADDRESS_LENGTH_4B</a>    
<a name="l00069"></a>00069 } <a class="code" href="group__esb__02__api.html#gad2f71a66caf0510ecfe2f5efd604eafb" title="Enumerator used for selecting the base address length.">nrf_esb_base_address_length_t</a>;
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 
<a name="l00076"></a><a class="code" href="group__esb__02__api.html#ga8256184eed90f88914d9a90bd85b5d98">00076</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> 
<a name="l00077"></a>00077 {
<a name="l00078"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a64dee006569b72203be78adcc710da46">00078</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a64dee006569b72203be78adcc710da46" title="4 dBm output power.">NRF_ESB_OUTPUT_POWER_4_DBM</a>,          
<a name="l00079"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98ab0a5bdca886a3fd20036ae12684a84dc">00079</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98ab0a5bdca886a3fd20036ae12684a84dc" title="0 dBm output power.">NRF_ESB_OUTPUT_POWER_0_DBM</a>,          
<a name="l00080"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98ace28766caf20daf01fcd298e697e7046">00080</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98ace28766caf20daf01fcd298e697e7046">NRF_ESB_OUTPUT_POWER_N4_DBM</a>,         
<a name="l00081"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a1bca8e99300503df877a746d28e82f6b">00081</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a1bca8e99300503df877a746d28e82f6b">NRF_ESB_OUTPUT_POWER_N8_DBM</a>,         
<a name="l00082"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a052ca5c7daa96d8299433615c537cfcb">00082</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a052ca5c7daa96d8299433615c537cfcb">NRF_ESB_OUTPUT_POWER_N12_DBM</a>,        
<a name="l00083"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98ae39bf0e9287338af77669ccb0a9093a0">00083</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98ae39bf0e9287338af77669ccb0a9093a0">NRF_ESB_OUTPUT_POWER_N16_DBM</a>,        
<a name="l00084"></a><a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a19e4aa7cfbe6e3d40123b85b540465b1">00084</a>     <a class="code" href="group__esb__02__api.html#gga8256184eed90f88914d9a90bd85b5d98a19e4aa7cfbe6e3d40123b85b540465b1">NRF_ESB_OUTPUT_POWER_N20_DBM</a>         
<a name="l00085"></a>00085 } <a class="code" href="group__esb__02__api.html#ga8256184eed90f88914d9a90bd85b5d98" title="Enumerator used for selecting the TX output power.">nrf_esb_output_power_t</a>;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 
<a name="l00092"></a><a class="code" href="group__esb__02__api.html#ga1c8ae2c90a475b46c43582f051aff4c3">00092</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> 
<a name="l00093"></a>00093 {
<a name="l00094"></a><a class="code" href="group__esb__02__api.html#gga1c8ae2c90a475b46c43582f051aff4c3a5cd874f2d37a18663e366c1cd1bfa796">00094</a>     <a class="code" href="group__esb__02__api.html#gga1c8ae2c90a475b46c43582f051aff4c3a5cd874f2d37a18663e366c1cd1bfa796" title="250 Kbps datarate">NRF_ESB_DATARATE_250_KBPS</a>,            
<a name="l00095"></a><a class="code" href="group__esb__02__api.html#gga1c8ae2c90a475b46c43582f051aff4c3a7d2cbbef6e9f49f752bdc8f72c805133">00095</a>     <a class="code" href="group__esb__02__api.html#gga1c8ae2c90a475b46c43582f051aff4c3a7d2cbbef6e9f49f752bdc8f72c805133" title="1 Mbps datarate">NRF_ESB_DATARATE_1_MBPS</a>,              
<a name="l00096"></a><a class="code" href="group__esb__02__api.html#gga1c8ae2c90a475b46c43582f051aff4c3a8739754b95a1ce7d4e9178d076b213cf">00096</a>     <a class="code" href="group__esb__02__api.html#gga1c8ae2c90a475b46c43582f051aff4c3a8739754b95a1ce7d4e9178d076b213cf" title="1 Mbps datarate">NRF_ESB_DATARATE_2_MBPS</a>,              
<a name="l00097"></a>00097 } <a class="code" href="group__esb__02__api.html#ga1c8ae2c90a475b46c43582f051aff4c3" title="Enumerator used for selecting the radio data rate.">nrf_esb_datarate_t</a>;
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 
<a name="l00104"></a><a class="code" href="group__esb__02__api.html#ga8ac1d67fc30ee4054d657b595be8e5a3">00104</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> 
<a name="l00105"></a>00105 {
<a name="l00106"></a><a class="code" href="group__esb__02__api.html#gga8ac1d67fc30ee4054d657b595be8e5a3ac075f5f08c33854b7c810a704be73d36">00106</a>     <a class="code" href="group__esb__02__api.html#gga8ac1d67fc30ee4054d657b595be8e5a3ac075f5f08c33854b7c810a704be73d36" title="CRC check disabled.">NRF_ESB_CRC_OFF</a>,            
<a name="l00107"></a><a class="code" href="group__esb__02__api.html#gga8ac1d67fc30ee4054d657b595be8e5a3a93b6dc5536fad26653346a6ad19a9a48">00107</a>     <a class="code" href="group__esb__02__api.html#gga8ac1d67fc30ee4054d657b595be8e5a3a93b6dc5536fad26653346a6ad19a9a48" title="CRC check set to 8-bit.">NRF_ESB_CRC_LENGTH_1_BYTE</a>,  
<a name="l00108"></a><a class="code" href="group__esb__02__api.html#gga8ac1d67fc30ee4054d657b595be8e5a3a88781c382ff471cb6d5b599f608fe0aa">00108</a>     <a class="code" href="group__esb__02__api.html#gga8ac1d67fc30ee4054d657b595be8e5a3a88781c382ff471cb6d5b599f608fe0aa" title="CRC check set to 16-bit.">NRF_ESB_CRC_LENGTH_2_BYTE</a>   
<a name="l00109"></a>00109 } <a class="code" href="group__esb__02__api.html#ga8ac1d67fc30ee4054d657b595be8e5a3" title="Enumerator used for selecting the CRC length.">nrf_esb_crc_length_t</a>;
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 <span class="comment">/******************************************************************************/</span>
<a name="l00115"></a>00115 <span class="comment">/******************************************************************************/</span>
<a name="l00116"></a>00116 
<a name="l00125"></a>00125 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga155377fe2e8a0b40352c21a5ec7979ec" title="Initialize ESB.">nrf_esb_init</a>(<a class="code" href="group__esb__02__api.html#ga86fb552224a080814a7e3ac856b57be3" title="Enumerator used for selecting the ESB mode.">nrf_esb_mode_t</a> mode);
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 
<a name="l00135"></a>00135 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#gaa7f7be8b058378a3b31d38ce88e0600f" title="Enable ESB.">nrf_esb_enable</a>(<span class="keywordtype">void</span>);
<a name="l00136"></a>00136 
<a name="l00147"></a>00147 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#ga1888b9ea163638d761af804e89de4122" title="Disable ESB.">nrf_esb_disable</a>(<span class="keywordtype">void</span>);
<a name="l00148"></a>00148 
<a name="l00149"></a>00149 
<a name="l00153"></a>00153 <span class="comment">/******************************************************************************/</span>
<a name="l00156"></a>00156 <span class="comment">/******************************************************************************/</span>
<a name="l00157"></a>00157 
<a name="l00173"></a>00173 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#ga416a6ef0fc94e7df9054e71c8784095a" title="TX success callback.">nrf_esb_tx_success</a>(uint32_t tx_pipe, int32_t rssi);
<a name="l00174"></a>00174 
<a name="l00175"></a>00175 
<a name="l00184"></a>00184 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#ga03993c4e0419bbcac77aa0965ecce6ad" title="TX failed callback (PTX mode only).">nrf_esb_tx_failed</a>(uint32_t tx_pipe);
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 
<a name="l00204"></a>00204 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#gab3042dde4c3151c1517f4998378f52ce" title="RX data ready callback.">nrf_esb_rx_data_ready</a>(uint32_t rx_pipe, int32_t rssi);
<a name="l00205"></a>00205 
<a name="l00206"></a>00206 
<a name="l00214"></a>00214 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#ga5e82709bd23aa952a883db3af5b987e0" title="Disabled callback.">nrf_esb_disabled</a>(<span class="keywordtype">void</span>);
<a name="l00215"></a>00215 
<a name="l00219"></a>00219 <span class="comment">/******************************************************************************/</span>
<a name="l00222"></a>00222 <span class="comment">/******************************************************************************/</span>
<a name="l00223"></a>00223 
<a name="l00241"></a>00241 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga23388e992626680973998c4485ab680a" title="Add a packet to the tail of the TX FIFO.">nrf_esb_add_packet_to_tx_fifo</a>(uint32_t pipe, <span class="keyword">const</span> uint8_t * payload, uint32_t payload_length, <a class="code" href="group__esb__02__api.html#ga22b4239274a204804ec90a75464af66c" title="Enumerator used for selecting TX packet type used in PTX mode.">nrf_esb_packet_t</a> packet_type);
<a name="l00242"></a>00242 
<a name="l00243"></a>00243 
<a name="l00256"></a>00256 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#gaef1dcdb47f1c29b01badecdeb6fb3459" title="Fetch a packet from the head of the RX FIFO.">nrf_esb_fetch_packet_from_rx_fifo</a>(uint32_t pipe, uint8_t * payload, uint32_t* payload_length);
<a name="l00257"></a>00257 
<a name="l00258"></a>00258 
<a name="l00267"></a>00267 uint32_t <a class="code" href="group__esb__02__api.html#gad20351036a910b022d8bad4f802110fb" title="Get the number of packets residing in the TX FIFO on a specific pipe.">nrf_esb_get_tx_fifo_packet_count</a>(uint32_t pipe);
<a name="l00268"></a>00268 
<a name="l00269"></a>00269 
<a name="l00278"></a>00278 uint32_t <a class="code" href="group__esb__02__api.html#ga531356c6c3ab315135ab4cf1c1f776fb" title="Get the number of packets residing in the RX FIFO on a specific pipe.">nrf_esb_get_rx_fifo_packet_count</a>(uint32_t pipe);
<a name="l00279"></a>00279 
<a name="l00280"></a>00280 
<a name="l00292"></a>00292 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#gadc578cb2ebd91e3aa3fa2769ad4cc8d2" title="Flush the RX FIFO for a specific pipe.">nrf_esb_flush_tx_fifo</a>(uint32_t pipe);
<a name="l00293"></a>00293 
<a name="l00294"></a>00294 
<a name="l00303"></a>00303 <span class="keywordtype">void</span> <a class="code" href="group__esb__02__api.html#ga5225a16b0da5052a4c37af8887ab1b23" title="Flush the RX FIFO for a specific pipe.">nrf_esb_flush_rx_fifo</a>(uint32_t pipe);
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 
<a name="l00316"></a>00316 uint16_t <a class="code" href="group__esb__02__api.html#gae4cd52fdd23ab3a0dca21300480e0dff" title="Get the total number of transmission attempts used for sending the previous successful packet...">nrf_esb_get_tx_attempts</a>(<span class="keywordtype">void</span>);
<a name="l00317"></a>00317 
<a name="l00318"></a>00318 
<a name="l00322"></a>00322 <span class="comment">/******************************************************************************/</span>
<a name="l00331"></a>00331 <span class="comment">/******************************************************************************/</span>
<a name="l00332"></a>00332 
<a name="l00333"></a>00333 
<a name="l00343"></a>00343 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga9fc8cc49f0942c4cccd4d35d23510248" title="Set the mode.">nrf_esb_set_mode</a>(<a class="code" href="group__esb__02__api.html#ga86fb552224a080814a7e3ac856b57be3" title="Enumerator used for selecting the ESB mode.">nrf_esb_mode_t</a> mode);
<a name="l00344"></a>00344 
<a name="l00345"></a>00345 
<a name="l00351"></a>00351 <a class="code" href="group__esb__02__api.html#ga86fb552224a080814a7e3ac856b57be3" title="Enumerator used for selecting the ESB mode.">nrf_esb_mode_t</a> <a class="code" href="group__esb__02__api.html#ga92cb3834b22f178c91e9f01f590c5424" title="Get function counterpart to nrf_esb_set_mode().">nrf_esb_get_mode</a>(<span class="keywordtype">void</span>);
<a name="l00352"></a>00352 
<a name="l00353"></a>00353 
<a name="l00362"></a>00362 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga5d8fbce95ff41513da85b9bd05d6452d" title="Set the base address length.">nrf_esb_set_base_address_length</a>(<a class="code" href="group__esb__02__api.html#gad2f71a66caf0510ecfe2f5efd604eafb" title="Enumerator used for selecting the base address length.">nrf_esb_base_address_length_t</a> length);
<a name="l00363"></a>00363 
<a name="l00364"></a>00364 
<a name="l00370"></a>00370 <a class="code" href="group__esb__02__api.html#gad2f71a66caf0510ecfe2f5efd604eafb" title="Enumerator used for selecting the base address length.">nrf_esb_base_address_length_t</a> <a class="code" href="group__esb__02__api.html#ga6a71fac6048b08b5ffcc31411d39fcec" title="Get function counterpart to nrf_esb_set_base_address_length().">nrf_esb_get_base_address_length</a>(<span class="keywordtype">void</span>);
<a name="l00371"></a>00371 
<a name="l00372"></a>00372 
<a name="l00390"></a>00390 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#gaeffa41d59bf749fdbbda53c2773e9754" title="Set the base address for pipe 0.">nrf_esb_set_base_address_0</a>(uint32_t base_address);
<a name="l00391"></a>00391 
<a name="l00392"></a>00392 
<a name="l00398"></a>00398 uint32_t <a class="code" href="group__esb__02__api.html#gaf789add12aaa6d2053d0f16df8243e01" title="Get function counterpart to nrf_esb_set_base_address_0().">nrf_esb_get_base_address_0</a>(<span class="keywordtype">void</span>);
<a name="l00399"></a>00399 
<a name="l00400"></a>00400 
<a name="l00413"></a>00413 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#gabc4e67308a18eff072b2612d516ed83d" title="Set the base address for pipes 1-7.">nrf_esb_set_base_address_1</a>(uint32_t base_address);
<a name="l00414"></a>00414 
<a name="l00415"></a>00415 
<a name="l00421"></a>00421 uint32_t <a class="code" href="group__esb__02__api.html#gaede7058c7a4e4349b6abd5e097f2ba1d" title="Get function counterpart to nrf_esb_set_base_address_1().">nrf_esb_get_base_address_1</a>(<span class="keywordtype">void</span>);
<a name="l00422"></a>00422 
<a name="l00423"></a>00423 
<a name="l00435"></a>00435 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga31a7b7aa543a7f84afe37145826c91f1" title="Set the address prefix byte for a specific pipe.">nrf_esb_set_address_prefix_byte</a>(uint32_t pipe, uint8_t address);
<a name="l00436"></a>00436 
<a name="l00437"></a>00437 
<a name="l00448"></a>00448 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#gaa626b990775752902ba6f076e177f585" title="Get function counterpart to nrf_esb_set_address_prefix_byte().">nrf_esb_get_address_prefix_byte</a>(uint32_t pipe, uint8_t* out_address);
<a name="l00449"></a>00449 
<a name="l00450"></a>00450 
<a name="l00464"></a>00464 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga4f5a6c59b96874d036f33601343aaac2" title="Set which pipes the node shall listen on in PRX mode.">nrf_esb_set_enabled_prx_pipes</a>(uint32_t pipes);
<a name="l00465"></a>00465 
<a name="l00466"></a>00466 
<a name="l00472"></a>00472 uint32_t <a class="code" href="group__esb__02__api.html#gac10f1854641b40ce4c54cc90db6cd22c" title="Get function counterpart to nrf_esb_set_enabled_prx_pipes().">nrf_esb_get_enabled_prx_pipes</a>(<span class="keywordtype">void</span>);
<a name="l00473"></a>00473 
<a name="l00474"></a>00474 
<a name="l00496"></a>00496 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#gaf745d55ede0ad93b7e24af33e3ef9df2" title="Set the retransmission delay.">nrf_esb_set_retransmit_delay</a>(uint32_t delay_us);
<a name="l00497"></a>00497 
<a name="l00498"></a>00498 
<a name="l00504"></a>00504 uint32_t <a class="code" href="group__esb__02__api.html#ga8be34074d3d1ef199650b854a6d0f347" title="Get function counterpart to nrf_esb_set_retransmit_delay().">nrf_esb_get_retransmit_delay</a>(<span class="keywordtype">void</span>);
<a name="l00505"></a>00505 
<a name="l00506"></a>00506 
<a name="l00516"></a>00516 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga8cdcef8f56272380546af260bcea0ad8" title="Set the maximum number of TX attempts that can be used for a single packet.">nrf_esb_set_max_number_of_tx_attempts</a>(uint16_t attempts);
<a name="l00517"></a>00517 
<a name="l00518"></a>00518 
<a name="l00524"></a>00524 uint16_t <a class="code" href="group__esb__02__api.html#ga1dedce2516be1d372757e5c23f9fbc89" title="Get function counterpart to nrf_esb_set_max_number_of_retransmits().">nrf_esb_get_max_number_of_tx_attempts</a>(<span class="keywordtype">void</span>);
<a name="l00525"></a>00525 
<a name="l00526"></a>00526 
<a name="l00537"></a>00537 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#gaca97648d85e0dcb1dde56545efb36df8" title="Set the Radio Frequency (RF) channel.">nrf_esb_set_channel</a>(uint32_t channel);
<a name="l00538"></a>00538 
<a name="l00539"></a>00539 
<a name="l00545"></a>00545 uint32_t <a class="code" href="group__esb__02__api.html#ga101eacd9b8e0ad6975cd50cb7ee48fd0" title="Get function counterpart to nrf_esb_set_channel().">nrf_esb_get_channel</a>(<span class="keywordtype">void</span>);
<a name="l00546"></a>00546 
<a name="l00547"></a>00547 
<a name="l00555"></a>00555 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga48a7e57c65a8503fce75dcac40734be9" title="Set the radio TX output power.">nrf_esb_set_output_power</a>(<a class="code" href="group__esb__02__api.html#ga8256184eed90f88914d9a90bd85b5d98" title="Enumerator used for selecting the TX output power.">nrf_esb_output_power_t</a> power);
<a name="l00556"></a>00556 
<a name="l00557"></a>00557 
<a name="l00563"></a>00563 <a class="code" href="group__esb__02__api.html#ga8256184eed90f88914d9a90bd85b5d98" title="Enumerator used for selecting the TX output power.">nrf_esb_output_power_t</a> <a class="code" href="group__esb__02__api.html#gae21c80360acaf054e0010caf665454ce" title="Get function counterpart to nrf_esb_set_output_power().">nrf_esb_get_output_power</a>(<span class="keywordtype">void</span>);
<a name="l00564"></a>00564 
<a name="l00565"></a>00565 
<a name="l00573"></a>00573 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga04652eea0a4f993be06dafba248d8ba6" title="Set the radio datarate.">nrf_esb_set_datarate</a>(<a class="code" href="group__esb__02__api.html#ga1c8ae2c90a475b46c43582f051aff4c3" title="Enumerator used for selecting the radio data rate.">nrf_esb_datarate_t</a> datarate);
<a name="l00574"></a>00574 
<a name="l00575"></a>00575 
<a name="l00581"></a>00581 <a class="code" href="group__esb__02__api.html#ga1c8ae2c90a475b46c43582f051aff4c3" title="Enumerator used for selecting the radio data rate.">nrf_esb_datarate_t</a> <a class="code" href="group__esb__02__api.html#ga3ac86a94e958f73fe4302958a0f6ba54" title="Get function counterpart to nrf_esb_set_datarate().">nrf_esb_get_datarate</a>(<span class="keywordtype">void</span>);
<a name="l00582"></a>00582 
<a name="l00583"></a>00583 
<a name="l00591"></a>00591 <span class="keywordtype">bool</span> <a class="code" href="group__esb__02__api.html#ga64be2966329bb2a22f19e4146132a020" title="Set the CRC length.">nrf_esb_set_crc_length</a>(<a class="code" href="group__esb__02__api.html#ga8ac1d67fc30ee4054d657b595be8e5a3" title="Enumerator used for selecting the CRC length.">nrf_esb_crc_length_t</a> length);
<a name="l00592"></a>00592 
<a name="l00593"></a>00593 
<a name="l00599"></a>00599 <a class="code" href="group__esb__02__api.html#ga8ac1d67fc30ee4054d657b595be8e5a3" title="Enumerator used for selecting the CRC length.">nrf_esb_crc_length_t</a> <a class="code" href="group__esb__02__api.html#ga419c9e0ba6b07300b7dd32369dcecd54" title="Get function counterpart to nrf_esb_set_crc_length().">nrf_esb_get_crc_length</a>(<span class="keywordtype">void</span>);
<a name="l00600"></a>00600 
<a name="l00601"></a>00601 
<a name="l00604"></a>00604 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="nrf__esb_8h.html">nrf_esb.h</a>      </li>

    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
